#pragma once
class Player;
#include "Game.h"
struct threadingInfo;
struct pos;
class Player
{
public:
	Player(threadingInfo* th, int gridX, int gridY, int ID);
	~Player(void);
	void operator()();
private:
	int getDirection(char c);
	void updateStruct(int dir);
	threadingInfo *threadInfo;
	int xMax, yMax;
	static char controlSets[2][4];
	pos posStruct;
	int prevX, prevY;
};

